import java.math.BigInteger;
import java.util.Random;

public class FindFakePrime implements Runnable {

	@Override
	public void run() {
		Random random=new Random();
		while (FakePrime.fakePrime==null) {
			BigInteger bigInteger=new BigInteger(1024, random);
			if (bigInteger.bitLength()<1000) {
				continue;
			}
			PrimeTest primeTest=new PrimeTest(bigInteger);
			primeTest.runTest();
		}
		FakePrime.print();
	}

}
